<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>无标题文档</title>
		<style type="text/css">
#con {
	font-size: 12px;
	width: 736px;
	height: 1100px;
	margin: 0px;
	float: left;
}

ol li {
	margin: 8px;
}

body {
	margin: 0px;
	padding: 0px;
	background-image: none;
	color: #0066cb;
	font-family: Arial, Helvetica, sans-serif, "宋体";
	font-size: 12px;
}

#tags {
	height: 32px;
	line-height: 32px;
	font-size: 14px;
	width: 736px;
	float: left;
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	overflow: hidden;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #9fc9df;
}

#biaoti {
	height: 29px;
	background-image: url(<%=basePath%>resource/img/index/list1.jpg);
	background-repeat: repeat-x;
	line-height: 29px;
	font-size: 15px;
	width: 660px;
	float: left;
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 14px;
	padding-left: 0px;
	background-position: left bottom;
	overflow: hidden;
	font-weight: bold;
	color: #124071;
}

#tags li {
	float: left;
	list-style-type: none;
	height: 32px;
	background-image: url(<%=basePath%>resource/img/index/list1.jpg);
	background-repeat: repeat-x;
	background-position: left bottom;
	overflow: hidden;
	padding: 0px;
	margin-right: 5px;
	width: auto;
}

#tags li a {
	padding-left: 10px;
	float: left;
	padding-bottom: 0px;
	color: #002c58;
	line-height: 32px;
	padding-top: 0px;
	height: 32px;
	text-decoration: none;
	background-image: url(<%=basePath%>resource/img/index/1-2-1.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	width: auto;
	font-family: "宋体";
	font-size: 13px;
	padding-right: 0px;
	overflow: hidden;
	margin: 0px;
}

#tags li a .bei {
	background-image: url(<%=basePath%>resource/img/index/1-3-1.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
	height: 32px;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 0px;
	float: left;
	overflow: hidden;
}

#tags li.emptyTag {
	background: none transparent scroll repeat 0% 0%;
	width: 4px;
}

#tags li.selectTag {
	height: 32px;
	line-height: 32px;
	background-image: none;
	background-repeat: repeat;
	background-position: left top;
	position: relative;
	float: left;
}

#tags li.selectTag a {
	line-height: 32px;
	background-image: url(<%=basePath%>resource/img/index/1-1-1.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	float: left;
	height: 32px;
	padding-left: 10px;
	font-weight: bold;
	color: #FFF;
}

#tags li.selectTag a .bei {
	background-position: right bottom;
	color: #FFF;
	line-height: 32px;
	height: 32px;
	background-image: url(<%=basePath%>resource/img/index/1-4-1.jpg);
	background-repeat: no-repeat;
	padding-right: 10px;
	float: left;
}

#tagContent {
	background-color: #fff;
	padding: 0px;
	float: left;
	height: auto;
	width: 736px;
	border: 0px solid #aecbd4;
}

.tagContent {
	display: none;
	color: #0066cb;
	height: auto;
	overflow: hidden;
	padding-bottom: 10px;
	float: left;
	width: 736px;
	padding-top: 10px;
}

#tagContent div.selectTag {
	display: block;
	float: left;
}

.list-1 {
	background-image: url(<%=basePath%>resource/img/index/list-1.jpg);
	background-repeat: no-repeat;
	background-position: left center;
	text-align: left;
	float: right;
	height: 24px;
	width: 93px;
	line-height: 24px;
	color: #002C58;
	padding-left: 4px;
}

li {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

.rolinList {
	width: 736px;
	height: auto;
	text-align: left;
	padding: 0px;
	float: left;
	margin: 0px;
}

.rolinList li {
	margin-bottom: 1px;
	border: 0px solid #DADADA
}

.rolinList li h2 {
	width: 724px;
	height: 40px;
	background: #fff;
	font-size: 14px;
	line-height: 40px;
	padding-left: 0px;
	color: #003366;
	cursor: pointer;
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
}

.content {
	height: auto;
	width: 734px;
	background: #fff;
	background: #FAFAFA;
	padding-bottom: 10px;
}

.content p {
	margin-top: 0px;
	line-height: 20px;
	padding-right: 12px;
	padding-left: 12px;
	height: auto;
	width: 710px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}

/**/
DIV.sabrosus {
	MARGIN: 0px;
	TEXT-ALIGN: center;
	height: 30px;
	width: 620px;
	float: left;
	padding-top: 15px;
	padding-right: 6px;
	padding-bottom: 6px;
	padding-left: 6px;
}

DIV.sabrosus A {
	BORDER-RIGHT: #9aafe5 1px solid;
	PADDING-RIGHT: 5px;
	BORDER-TOP: #9aafe5 1px solid;
	PADDING-LEFT: 5px;
	PADDING-BOTTOM: 2px;
	BORDER-LEFT: #9aafe5 1px solid;
	COLOR: #2e6ab1;
	MARGIN-RIGHT: 2px;
	PADDING-TOP: 2px;
	BORDER-BOTTOM: #9aafe5 1px solid;
	TEXT-DECORATION: none
}

DIV.sabrosus A:hover {
	BORDER-RIGHT: #2b66a5 1px solid;
	BORDER-TOP: #2b66a5 1px solid;
	BORDER-LEFT: #2b66a5 1px solid;
	COLOR: #000;
	BORDER-BOTTOM: #2b66a5 1px solid;
	BACKGROUND-COLOR: lightyellow
}

DIV.pagination A:active {
	BORDER-RIGHT: #2b66a5 1px solid;
	BORDER-TOP: #2b66a5 1px solid;
	BORDER-LEFT: #2b66a5 1px solid;
	COLOR: #000;
	BORDER-BOTTOM: #2b66a5 1px solid;
	BACKGROUND-COLOR: lightyellow
}

DIV.sabrosus SPAN.current {
	BORDER-RIGHT: navy 1px solid;
	PADDING-RIGHT: 5px;
	BORDER-TOP: navy 1px solid;
	PADDING-LEFT: 5px;
	FONT-WEIGHT: bold;
	PADDING-BOTTOM: 2px;
	BORDER-LEFT: navy 1px solid;
	COLOR: #fff;
	MARGIN-RIGHT: 2px;
	PADDING-TOP: 2px;
	BORDER-BOTTOM: navy 1px solid;
	BACKGROUND-COLOR: #2e6ab1
}

DIV.sabrosus SPAN.disabled {
	BORDER-RIGHT: #929292 1px solid;
	PADDING-RIGHT: 5px;
	BORDER-TOP: #929292 1px solid;
	PADDING-LEFT: 5px;
	PADDING-BOTTOM: 2px;
	BORDER-LEFT: #929292 1px solid;
	COLOR: #929292;
	MARGIN-RIGHT: 2px;
	PADDING-TOP: 2px;
	BORDER-BOTTOM: #929292 1px solid
}

.ddddddddddd {
	line-height: 30px;
	width: 706px;
	background-repeat: no-repeat;
	background-position: 38px 9px;
	padding-left: 10px;
	font-size: 14px;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #CCC;
}

.content .ddddddddddd a {
	text-decoration: none;
	color: #0066CB;
}


.ddddddddddd a:hover {
	color: #F63;
}

.content .ddddddddddd .messageTitle{
	color: #BEA676;
	font-size: 18px;
	letter-spacing: 2px;
	margin: 0;
	padding: 0;
	padding: 15px 0 30px 10px;
}

.content .ddddddddddd .messageContent{
	padding: 0 5px 5px 5px;
	width: 100%;
}

.content .ddddddddddd .messageTime{
	color: #ACACAC;
	font-size: 13px;
	margin: 0;
	padding: 0;
}

.content .ddddddddddd .messageTitle .slideUp{
	color: #000000;
	cursor:pointer;
	font-size: 13px;
	font-weight:600;
	letter-spacing: 1px;
	border: 1px solid black;
	padding-left: 3px;
	padding-right: 3px;
	padding-top: 2px;
	padding-bottom: 2px;
}

.content .aboutUs {
	height: 800px;
	overflow: auto;
}

.content p {
	width: 98%;
}

.content #messageList {
	border-top: 1px solid #9FC9DF;
}



.content #aboutUs .messageTitle .slideUp{
	color: #000000;
	cursor:pointer;
	font-size: 13px;
	font-weight:600;
	letter-spacing: 1px;
	border: 1px solid black;
	padding-left: 3px;
	padding-right: 3px;
	padding-top: 2px;
	padding-bottom: 2px;
}
</style>
		<script src="<%=basePath%>resource/js/jquery-1.4.2.js"></script>
		<link href="<%=basePath%>resource/css/pagination2.css"
			rel="stylesheet" type="text/css" />
		<script src="<%=basePath%>resource/js/pagination2.js"></script>
		<script type="text/javascript"
			src="<%=basePath%>index/shangjia/pro.js"></script>
		<script language="javascript">
/*第一种形式 第二种形式 更换显示样式*/
function setTab(name,cursel,n){
 for(i=1;i<=n;i++){
  var menu=document.getElementById(name+i);
  var con=document.getElementById("con_"+name+"_"+i);
  menu.className=i==cursel?"hover":"";
  con.style.display=i==cursel?"block":"none";
 }
}
</script>
		<script type="text/javascript">
//<![CDATA[
window.onload = function() {
var aboutUsObj = jQuery('#aboutUs');
var aboutUsHeight = aboutUsObj.outerHeight(true);
//if(aboutUsHeight>800){
//	aboutUsObj.addClass('aboutUs');
//}
var aboutUsImg = jQuery('#aboutUs img');
aboutUsImg.each(function(){
var imgObj = new Image(); 
imgObj.src = $(this).attr('src'); 
	if(imgObj.width>720)
 		$(this).width(720);//所有宽度-20px
});
var contentImg = jQuery('.messageContent img');
contentImg.each(function(){
var imgObj = new Image(); 
imgObj.src = $(this).attr('src'); 
	if(imgObj.width>720)
 		$(this).width(720);//所有宽度-20px
});
parent.initIframeHeight(getHeight('tagContent')+100);
}

//]]>
</script>
	</head>

	<body>
		<div id="con">
			<ul id="tags">
				<li class="selectTag">
					<a onClick="selectTag('tagContent0',this)"
						href="javascript:void(0)"><span class="bei"><s:property
								value="#brandobj.name" />
					</span> </a>
				</li>
				<li>
					<a onClick="selectTag('tagContent1',this)"
						href="javascript:void(0)"><span class="bei">评价口碑</span> </a>
				</li>
			</ul>
			<div id="tagContent">
				<div class="tagContent selectTag" id="tagContent0">
					<ul class="rolinList" id="rolin">
						<li id="aboutUsLi">
							<div class="content" id="aboutUsC">
								<div id="aboutUs">
									<div class="ddddddddddd">
											<table width="100%" border="0" cellpadding="0"
												cellspacing="1" >
												<tr id="btt_brandT" style="display: none">
													<td>
														<table width="100%" border="0" cellspacing="0"
															cellpadding="0">
															
															<tr>
																<td width="24">
																		<img
																		src="<%=basePath%>resource/img/ann_icon.gif" />
																</td>
																<td width="26" align="center">
																	<img
																		onclick="return IndexDeploy('brandT',1)"
																		style="cursor: pointer;" title="展开"
																		src="<%=basePath%>resource/img/index/cate_open.gif"
																		id="img_brandT" />
																</td>
																<td valign="bottom">
																	<a target="_parent"
																		href="javascript:void(0)" onclick="IndexDeploy('brandT',1)">
																		<s:if test='%{#brandobj.accTitle==null}'>商家介绍</s:if>
																		<s:else><s:property value='#brandobj.accTitle' escape="false" /></s:else>
																	</a>
																</td>
															</tr>
														</table>
													</td>
												</tr>
												<tbody id="cate_brandT"
													>
													<tr>
														<td bgcolor="#F7F7F1">
															<div class="messageTitle">
																<a name="tag_brandT"></a><img
																		src="<%=basePath%>resource/img/ann_icon.gif" />&nbsp;&nbsp;<s:if test='%{#brandobj.accTitle==null}'>商家介绍</s:if>
																<s:else><s:property value='#brandobj.accTitle' escape="false" /></s:else>&nbsp;&nbsp;&nbsp;&nbsp;<span class="slideUp" onclick="IndexDeploy('brandT',1)">收起</span>
															</div>
															<div class="messageContent">
																<s:property value="#brandobj.brandDesc" escape="false" />
															</div>
														</td>
													</tr>
												</tbody>
											</table>
										</div>
										<s:iterator value="#message3List">
										<div class="ddddddddddd">
											<table width="100%" border="0" cellpadding="0"
												cellspacing="1" >
												<tr id="btt_<s:property value="id" />">
													<td>
														<table width="100%" border="0" cellspacing="0"
															cellpadding="0">
															<tr>
																<td width="24">
																	<s:if test='%{recommend=="1"}'>
																		<s:if test='%{isTop=="1"}'>
																			<img
																			src="<%=basePath%>resource/img/pin_3.gif" title="首页推荐|本版置顶"/>
																		</s:if>
																		<s:else>
																			<img
																			src="<%=basePath%>resource/img/pin_2.gif" title="首页推荐"/>
																		</s:else>
																	</s:if>
																	<s:elseif test='%{isTop=="1"}'>
																		<img
																		src="<%=basePath%>resource/img/pin_1.gif" title="本版置顶"/>
																	</s:elseif>
																	<s:else>
																		<img
																		src="<%=basePath%>resource/img/folder_new.gif" />
																	</s:else>
																</td>
																<td width="26" align="center">
																	<img
																		onclick="return IndexDeploy('<s:property value="id" />',1)"
																		style="cursor: pointer;" title="展开"
																		src="<%=basePath%>resource/img/index/cate_open.gif"
																		id="img_<s:property value="id" />" />
																</td>
																<td valign="bottom">
																	<a target="_parent"
																		href="javascript:void(0)" onclick="IndexDeploy('<s:property value="id" />',1)"><s:property
																			value="titleSpe" escape="false" />
																	</a>
																</td>
															</tr>
														</table>
													</td>
												</tr>
												<tbody id="cate_<s:property value="id" />"
													style="display: none">
													<tr>
														<td bgcolor="#F7F7F1">
															<div class="messageTitle">
																<a name="tag_<s:property value="id" />"></a><s:property value="title" escape="false" />&nbsp;&nbsp;&nbsp;&nbsp;<s:if test='%{recommend=="1"}'><a href="javascript:void(0)" style="background: url('<%=basePath%>resource/img/index/index_recommend.jpg') no-repeat;height:24px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>&nbsp;&nbsp;&nbsp;&nbsp;</s:if><span class="slideUp" onclick="IndexDeploy('<s:property value="id" />',1)">收起</span>
															</div>
															<div class="messageTime">
																<s:property value="creatTimeFormat" escape="false" />
															</div>
															<div class="messageContent">
																<s:property value="content" escape="false" />
															</div>
														</td>
													</tr>
												</tbody>
											</table>
										</div>
									</s:iterator>
									<s:iterator value="#message2List">
										<div class="ddddddddddd">
											<table width="100%" border="0" cellpadding="0"
												cellspacing="1" >
												<tr id="btt_<s:property value="id" />">
													<td>
														<table width="100%" border="0" cellspacing="0"
															cellpadding="0">
															<tr>
																<td width="24">
																	<s:if test='%{recommend=="1"}'>
																		<s:if test='%{isTop=="1"}'>
																			<img
																			src="<%=basePath%>resource/img/pin_3.gif" title="首页推荐|本版置顶"/>
																		</s:if>
																		<s:else>
																			<img
																			src="<%=basePath%>resource/img/pin_2.gif" title="首页推荐"/>
																		</s:else>
																	</s:if>
																	<s:elseif test='%{isTop=="1"}'>
																		<img
																		src="<%=basePath%>resource/img/pin_1.gif" title="本版置顶"/>
																	</s:elseif>
																	<s:else>
																		<img
																		src="<%=basePath%>resource/img/folder_new.gif" />
																	</s:else>
																</td>
																<td width="26" align="center">
																	<img
																		onclick="return IndexDeploy('<s:property value="id" />',1)"
																		style="cursor: pointer;" title="展开"
																		src="<%=basePath%>resource/img/index/cate_open.gif"
																		id="img_<s:property value="id" />" />
																</td>
																<td valign="bottom">
																	<a target="_parent"
																		href="javascript:void(0)" onclick="IndexDeploy('<s:property value="id" />',1)"><s:property
																			value="titleSpe" escape="false" />
																	</a>
																</td>
															</tr>
														</table>
													</td>
												</tr>
												<tbody id="cate_<s:property value="id" />"
													style="display: none">
													<tr>
														<td bgcolor="#F7F7F1">
															<div class="messageTitle">
																<a name="tag_<s:property value="id" />"></a><s:property value="title" escape="false" />&nbsp;&nbsp;&nbsp;&nbsp;<s:if test='%{recommend=="1"}'><a href="javascript:void(0)" style="background: url('<%=basePath%>resource/img/index/index_recommend.jpg') no-repeat;height:24px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>&nbsp;&nbsp;&nbsp;&nbsp;</s:if><span class="slideUp" onclick="IndexDeploy('<s:property value="id" />',1)">收起</span>
															</div>
															<div class="messageTime">
																<s:property value="creatTimeFormat" escape="false" />
															</div>
															<div class="messageContent">
																<s:property value="content" escape="false" />
															</div>
														</td>
													</tr>
												</tbody>
											</table>
										</div>
									</s:iterator>
									<s:iterator value="#message1List">
										<div class="ddddddddddd">
											<table width="100%" border="0" cellpadding="0"
												cellspacing="1" >
												<tr id="btt_<s:property value="id" />">
													<td>
														<table width="100%" border="0" cellspacing="0"
															cellpadding="0">
															<tr>
																<td width="24">
																	<s:if test='%{recommend=="1"}'>
																		<s:if test='%{isTop=="1"}'>
																			<img
																			src="<%=basePath%>resource/img/pin_3.gif" title="首页推荐|本版置顶"/>
																		</s:if>
																		<s:else>
																			<img
																			src="<%=basePath%>resource/img/pin_2.gif" title="首页推荐"/>
																		</s:else>
																	</s:if>
																	<s:elseif test='%{isTop=="1"}'>
																		<img
																		src="<%=basePath%>resource/img/pin_1.gif" title="本版置顶"/>
																	</s:elseif>
																	<s:else>
																		<img
																		src="<%=basePath%>resource/img/folder_new.gif" />
																	</s:else>
																</td>
																<td width="26" align="center">
																	<img
																		onclick="return IndexDeploy('<s:property value="id" />',1)"
																		style="cursor: pointer;" title="展开"
																		src="<%=basePath%>resource/img/index/cate_open.gif"
																		id="img_<s:property value="id" />" />
																</td>
																<td valign="bottom">
																	<a target="_parent"
																		href="javascript:void(0)" onclick="IndexDeploy('<s:property value="id" />',1)"><s:property
																			value="titleSpe" escape="false" />
																	</a>
																</td>
															</tr>
														</table>
													</td>
												</tr>
												<tbody id="cate_<s:property value="id" />"
													style="display: none">
													<tr>
														<td bgcolor="#F7F7F1">
															<div class="messageTitle">
																<a name="tag_<s:property value="id" />"></a><s:property value="title" escape="false" />&nbsp;&nbsp;&nbsp;&nbsp;<s:if test='%{recommend=="1"}'><a href="javascript:void(0)" style="background: url('<%=basePath%>resource/img/index/index_recommend.jpg') no-repeat;height:24px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>&nbsp;&nbsp;&nbsp;&nbsp;</s:if><span class="slideUp" onclick="IndexDeploy('<s:property value="id" />',1)">收起</span>
															</div>
															<div class="messageTime">
																<s:property value="creatTimeFormat" escape="false" />
															</div>
															<div class="messageContent">
																<s:property value="content" escape="false" />
															</div>
														</td>
													</tr>
												</tbody>
											</table>
										</div>
									</s:iterator>
								</div>
							</div>
						</li>
						<li>
							<div class="content">
								<div id="messageList">
									<s:iterator value="#messagePu.list">
										<div class="ddddddddddd">
											<table width="100%" border="0" cellpadding="0"
												cellspacing="1" >
												<tr id="btt_<s:property value="id" />">
													<td>
														<table width="100%" border="0" cellspacing="0"
															cellpadding="0">
															<tr>
																<td width="24">
																	<s:if test='%{recommend=="1"}'>
																		<s:if test='%{isTop=="1"}'>
																			<img
																			src="<%=basePath%>resource/img/pin_3.gif" title="首页推荐|本版置顶"/>
																		</s:if>
																		<s:else>
																			<img
																			src="<%=basePath%>resource/img/pin_2.gif" title="首页推荐"/>
																		</s:else>
																	</s:if>
																	<s:elseif test='%{isTop=="1"}'>
																		<img
																		src="<%=basePath%>resource/img/pin_1.gif" title="本版置顶"/>
																	</s:elseif>
																	<s:else>
																		<img
																		src="<%=basePath%>resource/img/folder_new.gif" />
																	</s:else>
																</td>
																<td width="26" align="center">
																	<img
																		onclick="return IndexDeploy('<s:property value="id" />',1)"
																		style="cursor: pointer;" title="展开"
																		src="<%=basePath%>resource/img/index/cate_open.gif"
																		id="img_<s:property value="id" />" />
																</td>
																<td valign="bottom">
																	<a target="_parent"
																		href="javascript:void(0)" onclick="IndexDeploy('<s:property value="id" />',1)"><s:property
																			value="titleSpe" escape="false" />
																	</a>
																</td>
															</tr>
														</table>
													</td>
												</tr>
												<tbody id="cate_<s:property value="id" />"
													style="display: none">
													<tr>
														<td bgcolor="#F7F7F1">
															<div class="messageTitle">
																<a name="tag_<s:property value="id" />"></a><s:property value="title" escape="false" />&nbsp;&nbsp;&nbsp;&nbsp;<s:if test='%{recommend=="1"}'><a href="javascript:void(0)" style="background: url('<%=basePath%>resource/img/index/index_recommend.jpg') no-repeat;height:24px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>&nbsp;&nbsp;&nbsp;&nbsp;</s:if><span class="slideUp" onclick="IndexDeploy('<s:property value="id" />',1)">收起</span>
															</div>
															<div class="messageTime">
																<s:property value="creatTimeFormat" escape="false" />
															</div>
															<div class="messageContent">
																<s:property value="content" escape="false" />
															</div>
														</td>
													</tr>
												</tbody>
											</table>
										</div>
									</s:iterator>
								</div>
								<div id="pagnation" style="margin-top: 5px;">
								</div>
							</div>
						</li>
					</ul>

				</div>


				<div class="tagContent" id="tagContent1">
					<iframe scrolling="no"
						src="<%=basePath%>index/shangjia/pro.htm?<s:property value="#brandobj.id"/>"
						width="660" height="800" frameborder="0" id="bbbb"></iframe>
				</div>

			</div>
		</div>

		<script type="text/javascript">
function selectTag(showContent,selfObj){
	//标签
	var tag = document.getElementById("tags").getElementsByTagName("li");
	var taglength = tag.length;
	for(i=0; i<taglength; i++){
		tag[i].className = "";
	}
	selfObj.parentNode.className = "selectTag";
	//标签内容
	for(i=0; j=document.getElementById("tagContent"+i); i++){
		j.style.display = "none";
	}
	document.getElementById(showContent).style.display = "block";
}

function topage(pageNo,limit){
	if(pageNo > 1)
		jQuery('#aboutUsLi').hide();
	else
		jQuery('#aboutUsLi').show();
	jQuery.get('<%=basePath%>brand/brandMessage.shtml?id=<s:property value="#brandobj.id"/>&pageNo='+pageNo+'&limit='+limit,function(mes){
		jQuery("#messageList").html('');
		var json = eval('('+mes+')');
		var str = '';
		for(var i = 0; i < json.length; i++){
				str +='<div class="ddddddddddd"><table width="100%" border="0" cellpadding="0" cellspacing="1" >'+
												'<tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr id="btt_'+json[i]['id']+'">';
				if(json[i]['recommend']=="1"){
					if(json[i]['isTop']=="1")
						str+='<td width="24"><img src="<%=basePath%>resource/img/pin_3.gif" /></td>';
					else
						str+='<td width="24"><img src="<%=basePath%>resource/img/pin_2.gif" /></td>';
				}else if(json[i]['isTop']=="1"){
					str+='<td width="24"><img src="<%=basePath%>resource/img/pin_1.gif" /></td>';
				}else{
					str+='<td width="24"><img src="<%=basePath%>resource/img/folder_new.gif" /></td>';
				}
				str +='<td width="26" align="center"><img onclick="return IndexDeploy(\''+json[i]['id']+'\',1)"'+
																		'style="cursor: pointer;" title="展开"'+
																		'src="<%=basePath%>resource/img/index/cate_open.gif"'+
																		'id="img_'+json[i]['id']+'" /></td><td valign="bottom">'+
																	'<a target="_parent" '+
																		'href="javascript:void(0)" onclick="IndexDeploy(\''+json[i]['id']+'\',1)">'+json[i]['titleSpe']+
																	'</a></td></tr></table></td></tr>'+
												'<tbody id="cate_'+json[i]['id']+'" style="display: none">'+
													'<tr><td bgcolor="#F7F7F1"><div class="messageTitle"><a name="tag_'+json[i]['id']+'"></a>'+
																json[i]['title']+'&nbsp;&nbsp;&nbsp;&nbsp;';
																if(json[i]['recommend']=='1')
																	str += '<a href="javascript:void(0)" style="background: url(\'<%=basePath%>resource/img/index/index_recommend.jpg\') no-repeat;height:24px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>&nbsp;&nbsp;&nbsp;&nbsp;';
			    str+='<span class="slideUp" onclick="IndexDeploy(\''+json[i]['id']+'\',1)">收起</span></div><div class="messageTime">'+
																json[i]['creatTimeFormat']+
															'</div><div class="messageContent">'+
																json[i]['content']+
															'</div></td></tr></tbody></table></div>'
		
			//str += '<div class="ddddddddddd">'+
			//		'<a target="_parent" href="<%=basePath%>brand/showMessage.shtml?messageId='+json[i]['id']+'">'+json[i]['titleSpe']+'</a></div>';
										
		}
		jQuery("#messageList").html(str);
		pagination({
			totalRecords:'<s:property value="#messagePu.totalRecords"/>',
			pageNo:pageNo,
			limit:limit,
			showPages:6,
			uri:function(pageNo,limit){
				topage(pageNo,limit);
			},
			id:'pagnation'
		})
	})
}

pagination({
	totalRecords:'<s:property value="#messagePu.totalRecords"/>',
	pageNo:'<s:property value="#messagePu.pageNo"/>',
	limit:'1',
	showPages:6,
	uri:function(pageNo,limit){
		topage(pageNo,limit);
	},
	id:'pagnation'
})
function swapAbout(obj){
	if(jQuery(obj).html()!='v'){
		jQuery('#aboutUs').slideUp("normal",function(){
			parent.initIframeHeight(getHeight('tagContent')+100);
			jQuery(obj).html('v');
			jQuery('#aboutUsToolBar1').hide();
		});
	} else{
		jQuery('#aboutUs').slideDown("normal",function(){
			parent.initIframeHeight(getHeight('tagContent')+100);
			jQuery(obj).html('^');
			jQuery('#aboutUsToolBar1').show();
		});
	}
}

function messageCommend(mid){
	if(parent.userid == ''){
  		alert('您还未登录，请先登录!');
  		return;
  	}
	$.get('<%=basePath%>shoperMessage/messageCommend.shtml?messageId='+mid,function(mes){
		if(mes=='1'){
			alert('推荐成功');
		}else if(mes=='3'){
			alert('您已推荐过，请勿重复推荐');
		}else{
			alert('推荐失败，请稍后再试');
		}
	})
}

function initIframeHeight(height){
			$("#bbbb").css({height:height+'px'})
		}
</script>
	</body>
</html>